﻿<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>比价搜索页面</title>
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/category.css">

</head>

<body>
    <header>
        <div class="left">
            <a href="./index.html"><img src="./images/header_logo.png" alt=""></a> 
        </div>
        <div class="right">
            <img src="./images/header_app.png" alt="">
        </div>
    </header>
    <div class="view">
        <form action="" id="search">
            <div class="search">
                <input type="text" placeholder="请输入你想比价的商品">
                <button type="">搜索</button>
            </div>
        </form>
        <div class="list">
            <!-- <div class="goods_name">
                <input type="hidden" value="">
                <a href="#">大 家 电</a>
                <img src="./images/arrow1.gif" alt="">
            </div> -->
            <!-- <ul class="goods_list">
                <li>替换内容</li>
            </ul> -->
        </div>
        <div class="foot">
            <div class="foot_up">
                <a href="#">登陆</a>
                <a href="#">注册</a>
                <a href="#">返回顶部</a>
            </div>
            <div class="foot_down">
                <a href="#">手机APP下载</a>
                <a href="#">慢慢买手机版</a> - 掌上比价平台
                <br>m.manmanbuy.com
            </div>
        </div>
    </div>
</body>
<script src="./lib/zepto/zepto.js"></script>
<script src="./lib/arttemplate/template-web.js"></script>
<script src="./js/category.js"></script>

</html>

<script type="text/template" id="goods_nameid">
    {{each result value index}}
    <div class="goods_name">
        <input class="titleId" type="hidden" value="{{value.titleId}}">
        <a href="#">{{value.title}}</a>
        <img src="./images/arrow1.gif" alt="">
    </div>
    <ul class="goods_list clearfix">
        <li>
            替换内容
        </li>
    </ul>
    {{/each}}
</script>

<script type="text/template" id="aabb">
        {{each res val key}}
        <li>
            <a href="./gongneng.html?categoryid={{val.categoryId}}">{{val.category}}</a>
        </li>
        {{/each}}
</script>